﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ChilishopDataLibrary;

namespace WebApplication1
{
    public partial class ChiliShopNested : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            listCategories.DataSource = ChilishopData.GetCategories();
            listCategories.DataBind();
        }

        public string GetQueryString(string categoryId)
        {
            return @"/pages/ProductThumbnailPage.aspx?categoryId="+categoryId;
        }
    }
}